projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25a1fad
)
(Fcall_process): Fix previous change (now !MSDOS only).
author
Richard M. Stallman
<rms@gnu.org>
Sun, 12 May 1996 22:50:25 +0000
(22:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 12 May 1996 22:50:25 +0000
(22:50 +0000)
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index d9c29a0ba72ba0a3ee984c92e1abe85a78378a0f..265d82877230fcbe830f7ce75820fc3f90d7fba5 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-447,6
+447,10
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
child_setup (filefd, fd1, fd_error, new_argv, 0, current_dir);
}
#endif /* not WINDOWSNT */
+
+ /* The MSDOS case did this already. */
+ if (fd_error >= 0)
+ close (fd_error);
#endif /* not MSDOS */
environ = save_environ;
@@
-456,8
+460,6
@@
If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
close (filefd);
if (fd1 >= 0)
close (fd1);
- if (fd_error >= 0)
- close (fd_error);
}
if (pid < 0)